package org.aswing.geom;

extern class IntPoint {
	var x : Int;
	var y : Int;
	function new(?p0 : Int, ?p1 : Int) : Void;
	function clone() : IntPoint;
	function distance(p0 : IntPoint) : Int;
	function distanceSq(p0 : IntPoint) : Int;
	function equals(p0 : Dynamic) : Bool;
	function move(p0 : Int, p1 : Int) : IntPoint;
	function moveRadians(p0 : Int, p1 : Int) : IntPoint;
	function nextPoint(p0 : Float, p1 : Float) : IntPoint;
	function setLocation(p0 : IntPoint) : Void;
	function setLocationXY(?p0 : Int, ?p1 : Int) : Void;
	function setWithPoint(p0 : flash.geom.Point) : Void;
	function toPoint() : flash.geom.Point;
	function toString() : String;
	static function creatWithPoint(p0 : flash.geom.Point) : IntPoint;
}
